<extend name="Public/base"/>

<block name="body">
    <div class="main-title">
        <h2>微信企业付款</h2>
    </div>
    <form action="{:U('ComPay/pay')}" method="post" class="form-horizontal">
        <div class="form-item">
            <label class="item-label">用户名：{$user['nickname']}<span class="check-tips"></span></label>
            
        </div>
        <div class="form-item">
            <label class="item-label">真实姓名：{$user['realname']}<span class="check-tips"></span></label>
            
        </div>
        <div class="form-item">
            <label class="item-label">提现金额：{$with['money']}<span class="check-tips"></span></label>
            
        </div>
         <div class="form-item">
            <label class="item-label">提现手续费：{$with['handling_fee']}<span class="check-tips"></span></label>
            
        </div>
         <div class="form-item">
            <label class="item-label">余额：{$user['money']}<span class="check-tips"></span></label>
            
        </div>
        <div class="form-item">
            <label class="item-label">剩余冻结资金：{$user['blocked_fund']}<span class="check-tips"></span></label>
            
        </div>
         <div class="form-item">
            <label class="item-label">备注：{$with['remark']}<span class="check-tips"></span></label>
            
        </div>
        <input type="hidden" class="text input-large" name="withid" value="{$with['id']}">
            
        <div class="form-item">
            <label class="item-label">密码<span class="check-tips">（用户密码不能少于6位）</span></label>
            <div class="controls">
                <input type="password" class="text input-large" name="password" value="">
            </div>
        </div>
        
        <div class="form-item">
            <if condition="$with['compay'] neq 1 ">
            <button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">确定提现付款</button>
            </if>
            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
        </div>
    </form>
</block>

<block name="script">
    <script type="text/javascript">
        //导航高亮
        //$('.side-sub-menu').find('a[href="{:U('User/index')}"]').closest('li').addClass('current');
    </script>
</block>
